import request from '@/utils/request'

// 获取用户token
export const login = (data) => request.post('/sys/login', data)

// 获取用户基本资料
export const getUserInfo = () => request.get('/sys/profile')

// 修改用户密码
export const updateUserPsw = (data) => request.put('/sys/user/updatePass', data)
